from .func.move_func import MoveFunctions
from .func.resize_func import ResizeFunctions
from .func.rotate_func import RotateFunctions
import animation.fx.all as acgfx
from moviepy.video.VideoClip import VideoClip
import moviepy.video.fx.all as vfx
import moviepy.video.compositing.transitions as transfx
import common.video_tools as vt

for method in [
    "acgfx.rotate_average",
    "acgfx.resize_scale",
    "acgfx.move_line",
    "acgfx.move_circle",
    "acgfx.move_screw_spin",
    "acgfx.erase_in",
    "acgfx.erase_out",
    "acgfx.freeze_effective",
    "vfx.freeze",
    "vfx.mask_color",
    "vt.add_subtitles"
]:
    exec("VideoClip.%s = %s" % (method.split('.')[1], method))
